// kursovaIdea1.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdlib.h>
#include <tchar.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <conio.h>
#include <string.h>
#include <malloc.h>
FILE* Main_menu();

int main()
{
	char sh;
	sh = Main_menu();
	if (sh == '1')
	{

	}
	//char sh = Sub_menu('.');

	return 0;
}

FILE* Main_menu()
{
	FILE *fp;
	char ch,*name;
	printf("Welcome to TypeWritter 1.1 ver.");
	printf("MENU:");
	printf("1.Write text.");
	printf("2.Open file.");
	ch = getchar();
	switch (ch)
	{
	case '1': 
		
	case '2':
		return ch;
	default:
		printf("Error Input");
		exit(1);
		break;
	}

}